/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package it.bbSimulator.Controller;

import it.bbSimulator.Model.Panels.Panel;
import it.bbSimulator.Model.Panels.PanelColor;
import it.bbSimulator.Model.Panels.PanelState;
import java.util.ArrayList;
import java.util.Date;

/**
 *
 * @author Massimo
 */
public interface IPanelBank {

    void AddPanel(Panel p);

    ArrayList<Panel> getFilteredPanels(PanelColor color);

    ArrayList<Panel> getFilteredPanels(PanelColor color, PanelState state, Date refDate);

    boolean rollup(PanelColor color,int n, Date refDate) throws RollUpExeption;
}
